@charset "UTF-8";
@import "reset";
@import"common";
@mixin one($w){
    width:$w;
    height:129px;
    color: black;
    text-align: center;
    padding-top: 36px;
    background-color: #cac9c9;
    p{
        font-size: 24px;
        margin-bottom: 10px;
    }
    i{
        font-size: 29px;
        opacity: 0;
    }
    &:hover{
        background-color: #2072f9;
        transition: 2s;
        p{
            color: white;
            transition: 1s;
        }
        i{
            opacity: 1;
            color: white;
            transition: 1s;
        }
    }
     
}
.imgWrap{
    font-size: 0;
}
.content-wrapper{
    background-color: #f6f6f6;
    padding-bottom: 302px;
    .content{
        width: 976px;
        margin: 0 auto;
        padding-top: 20px;
        p{
            font-size: 12px;
        }
        .series{
            display: flex;
            justify-content: space-between;
            margin-top: 35px;
            .bw{
                @include one(291px);
            }
            .bq{
                @include one(207px);
            }
            .fs{
                @include one(223px);
            }
            .sn{
                @include one(221px);
            }
            .bw {               
                 background-color: #2072f9;
                p{
                    color: white;  
                }
                i{
                    display: block;
                    color: white;
                }
            }
        }
        .search{  
            margin-top: 29px;
            padding-bottom: 26px;
            div{
                box-sizing: border-box;
                width: 358px;
                height: 50px;
                position: relative;
                border: 1px solid black;
                background-color: #434343;
                input{
                    position: absolute;
                    height: 48px;
                    width: 301px;
                    left: 0;
                    top: 0;
                    padding: 0 5px;
                }
               i{
                    cursor: pointer;
                    position: absolute;
                    right: 12px;
                    top:8px;
                    font-size: 30px;
                    color: white;
                }
            }
        }
        .goods{ 
            background-color: white;
            border-right: 1px solid #dcdcdc;
            border-bottom: 1px solid #dcdcdc;
            .good-1{
                position: relative;
                width: 324px;
                cursor: pointer;
                padding: 40px 20px 35px 20px;
                .g-1{
                    width: 108px;
                    height: 144px;
                    margin: 0 auto;
                    &:hover{
                        transform: scale(1.3);
                    }
                }
                h3{ text-align: center;
                    font-size: 16px;
                    color: #2072f9;
                }
                p{
                    font-size: 12px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                &::before{
                    content: "";
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background-color: #dcdcdc;
                    width: 326px;
                    height: 1px;
                }
                &::after{
                    content: "";
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background-color: #dcdcdc;
                    width: 1px;
                    height: 258px;
                }
            }  
        }
        .pages{
            text-align: center;
            margin-top: 54px;
            ul{
                li{
                    display: inline-block;
                    padding: 17px 24px;
                    a{
                        color: #8d8c8c;
                    }
                    &:hover{
                        transition: .3s;
                      background-color: #2072f9;
                      a{
                          color: white;
                          transition: .2s;
                      }
                    }
                }
                .act{
                    background-color: #2072f9;
                    a{
                        color: white;
                    } 
                }
            }
        }
    }
}
    